package edu.sctu.practice.class01.fengleilin.test08;

/**
 * Created by fll on 2015/10/14.
 */
public class VehiclesMain {
    public static void main(String[] args) {

        Vehicles vehicles = new Vehicles("奔驰", "黑色");
        vehicles.showInfo();
        vehicles.run();
        Car car = new Car("宝马", "白色", 5);
        car.showCars();
        Truck truck = new Truck("红旗", "红色", 5);
        truck.showTruck();
    }

}
